0c9705cd728971a553134b868ea2bb39a9304e74,subprojects/cpp/src/main/groovy/org/gradle/nativecode/toolchain/internal/msvcpp/VisualCppToolChain.java,VisualCppToolChain,VisualCppToolChain,#OperatingSystem#Factory#,40

Before Change


    private final Factory<ExecAction> execActionFactory;

    public VisualCppToolChain(OperatingSystem operatingSystem, Factory<ExecAction> execActionFactory) {
        this(operatingSystem.findInPath(COMPILER_EXE), operatingSystem.findInPath(LINKER_EXE), operatingSystem.findInPath(STATIC_LINKER_EXE), execActionFactory);
    }

    protected VisualCppToolChain(File compilerExe, File linkerExe, File staticLinkerExe, Factory<ExecAction> execActionFactory) {

After Change


    public VisualCppToolChain(OperatingSystem operatingSystem, Factory<ExecAction> execActionFactory) {
        super(operatingSystem);
        this.compilerExe = operatingSystem.findInPath(COMPILER_EXE);
        this.linkerExe = operatingSystem.findInPath(LINKER_EXE);
        this.staticLinkerExe = operatingSystem.findInPath(STATIC_LINKER_EXE);
        this.execActionFactory = execActionFactory;
    }